package org.example.minsuapi.controller;


import org.example.minsuapi.pojo.tag_num;
import org.example.minsuapi.service.tagnumService;
import org.example.minsuapi.util.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class tagnumController {
    @Autowired
    private  tagnumService tagnumService;
    @GetMapping("/queryAlltagnum")
    public ResponseResult<List<tag_num>> queryAlltagnum(){
        List<tag_num>pf =tagnumService.queryAlltagnum();
        return new ResponseResult<>("200","查询成功",pf);
    }
}
